package com.panghu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.panghu.entity.FillQuestion;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 填空题题库 服务类
 * </p>
 *
 * @author huahua
 * @since 2022-03-19
 */
public interface FillQuestionService extends IService<FillQuestion> {
    FillQuestion findOnlyQuestionId();


    List<FillQuestion> findByIdAndType(Integer paperId);

    IPage<FillQuestion> findAll(Page page);

    int add(FillQuestion fillQuestion);

    List<Integer> findBySubject(String subject,Integer pageNo);
}
